/*
    File:       HttpBlogController.h

    Contains:   Manages the List tab.

    Written by: Sunny

    Copyright:  Copyright (c) 2010 SUNNY Inc. All Rights Reserved.

*/

#import <UIKit/UIKit.h>
#import "HttpDelegate.h"

@interface HttpBlogController : UIViewController <NSStreamDelegate>
{
    NSInputStream *             _networkStream;
    NSMutableData *             _listData;
    NSMutableArray *            _listEntries;           // of NSDictionary as returned by CFFTPCreateParsedResourceListing
    NSString *                  _status;
	
	HttpDelegate *				_httpUtil;

	NSMutableArray * _listXml;
	NSString *_folderBaseUrl;
	
	NSOperationQueue *parseQueue;
	
	NSURLConnection *connection;
}

- (void)_startReceive:(NSString*) urlText;

@property (nonatomic, copy) NSString *status;

@property (nonatomic, retain) NSMutableArray *listXml;
@property (nonatomic, retain) NSString *folderBaseUrl;
@property (nonatomic, retain) NSOperationQueue *parseQueue;

@end
